<%@ page language="java" pageEncoding="utf-8"%>
<%@page import="java.util.*"%>
<html> 
<head> 
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>网络速度测试</title> 

<script type="text/javascript" src="/mt_lifekeeper/ace/js/jquery.min.js"></script>
<style type="text/css">
table.gridtable {
	font-family: verdana,arial,sans-serif;
	font-size:12px;
	color:#333333;
	border-width: 1px;
	border-color: #666666;
	border-collapse: collapse;
}
table.gridtable th {
	border-width: 1px;
	padding: 8px;
	border-style: solid;
	border-color: #666666;
	background-color: #dedede;
}
table.gridtable td {
	border-width: 1px;
	padding: 8px;
	border-style: solid;
	border-color: #666666;
	background-color: #ffffff;
}
</style>
<title></title> 
</head> 

<body>
<form name=autof>
<table align="center" width="98%" border="0">
	  <tr><td align="center" >
	  	<a href="/mt_lifekeeper/common/wlan_speed_test.jsp" class="button blue small">重新测速</a>
	  </td></tr>
</table>
<TABLE width="98%" align="center"  class="gridtable">
	<tr>
		<th>站点</th><th>测试地址</th><th>响应时间(ms)</th>
	</tr>
    <TR>
        <TD>百度</TD>
        <TD>http://www.baidu.com</TD>
        <TD >
          <span id="msg1"></span>
        </TD>
    </TR>
    <TR>
        <TD>139邮箱</TD>
        <TD>http://mail.10086.cn/</TD>
        <TD >
          <span id="msg2"></span>
        </TD>
    </TR>
    <TR>
        <TD>服务厅辅助系统</TD>
        <TD>http://sfz.mm.gmcc.net/</TD>
        <TD >
          <span id="msg3"></span>
        </TD>
    </TR>
    <TR>
        <TD>移动业务云平台</TD>
        <TD>http://eboss.mm.gmcc.net/</TD>
        <TD >
          <span id="msg4"></span>
        </TD>
    </TR>
    <TR>
        <TD>服务厅支撑平台</TD>
        <TD>http://tfwt.mm.gmcc.net</TD>
        <TD >
          <span id="msg5"></span>
        </TD>
    </TR>
    <TR>
        <TD>IT服务管理系统</TD>
        <TD>http://newitsm.mm.gmcc.net</TD>
        <TD >
          <span id="msg6"></span>
        </TD>
    </TR>
    <TR>
        <TD>110服务支撑系统</TD>
        <TD>http://110.mm.gmcc.net:8080/</TD>
        <TD >
          <span id="msg7"></span>
        </TD>
    </TR>
    
      <TR>
        <TD>票据管理系统</TD>
        <TD>http://iap.mm.gmcc.net</TD>
        <TD >
          <span id="msg8"></span>
        </TD>
    </TR>
    
      <TR>
        <TD>统一运维支撑平台</TD>
        <TD>http://iboss.mm.gmcc.net/</TD>
        <TD >
          <span id="msg9"></span>
        </TD>
    </TR>
</TABLE>
</form>

</body>
</html>


<script type="text/javascript">
tim=1
setInterval("tim++",1)
b=1
var autourl=new Array()
autourl[1]="www.baidu.com"
autourl[2]="mail.10086.cn"
autourl[3]="sfz.mm.gmcc.net"
autourl[4]="eboss.mm.gmcc.net"
autourl[5]="tfwt.mm.gmcc.net"
autourl[6]="newitsm.mm.gmcc.net"
autourl[7]="110.mm.gmcc.net:8080"
autourl[8]="iap.mm.gmcc.net"
autourl[9]="iboss.mm.gmcc.net"

function auto(url){
	var divid = "msg"+b;
	if(tim>200000){
		$('#'+divid).html($('#'+divid).html()+" 超时");
	}else{
		$('#'+divid).html(tim+"毫秒");
	}
	b++
}

function run(){
	var date = new Date();
	for(var i=1;i<autourl.length;i++){
		document.write("<img src=http://"+autourl[i]+"/"+date.getTime()+" width=1 height=1 onerror=auto('http://"+autourl[i]+"')>")
	}
}
run()

</script>
